package com.qf.cardlikeboot.mapper;

import com.qf.cardlikeboot.entity.User;
import org.apache.ibatis.annotations.Select;

/**
* @author wkk
* @description 针对表【user】的数据库操作Mapper
* @createDate 2022-05-18 18:15:35
* @Entity com.qf.cardlikeboot.entity.User
*/
public interface UserMapper {

    //登录
    User selectByName(String username);


    //查单个
    User selectByPrimaryKey(Long id);

    //修改，喜欢不喜欢
    int updateUser(User user);
}
